home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / NEWSOFT / AUGUST / WORKDISC / !Forthmacs / risc_os / bin / cmd / EmacsHLP < prev    next >
Text File  |  1988-09-04  |  9KB  |  207 lines

  1. =>              ARC EMACS 1.00 Help screens
  2.  
  3.     M-  means to use the <ESC> key prior to using another key
  4.     ^A  means to use the control key at the same time as the A key
  5.  
  6. ^V or [Pg Dn]     Scroll down        M-< or <HOME>    Begining of file
  7. ^Z or [Pg Up]     Scroll up        M-> or <END>    End of file
  8.  
  9. -----------------------------------------------------------------------
  10. =>        (1) MOVING THE CURSOR
  11.  
  12. ^F  Forward character   M-F    Forward word
  13. ^B  Backward character  M-B    Backward word
  14. ^A  Front of line    M-G    Goto a line
  15. ^E  End of line        
  16. ^N  Next line        M-N    Front of paragraph
  17. ^P  Previous line    M-P    End of paragraph
  18. -----------------------------------------------------------------------
  19. =>              (1a) MORE MOVING ABOUT
  20.     Forward Char                          Backward Char     CURSOR KEYS
  21.     Next Line                             Previous Line   
  22.     Forward Screen    PAGE DOWN           Backward Screen   PAGE UP
  23.     Forward Delete    COPY
  24.     Start of Buffer   HOME
  25.     End   of Buffer   SHIFT COPY
  26.     Insert space      INSERT
  27. -----------------------------------------------------------------------
  28. =>        (2) DELETING & INSERTING
  29.  
  30. <--             Delete previous character
  31. ^D or <DELETE>  Delete next character
  32. ^C or <INSERT>  Insert a space
  33. M-<--           Delete previous word
  34. M-D             Delete next word
  35. ^K              Close (delete) to end of line
  36. -----------------------------------------------------------------------
  37. =>        (2a) MORE DELETING & INSERTING
  38.  
  39. <RETURN>   Insert a newline             <TAB>  Advance to next tab stop
  40. ^J         Insert a newline and indent  M-^W   Delete paragraph
  41. ^O         Open (insert) line
  42. ^W         Delete region between mark (set using M-<spacebar>) and cursor
  43. M-W        Copy region to kill buffer
  44. ^X ^O      Delete blank lines around cursor
  45. -----------------------------------------------------------------------
  46. =>        (3) SEARCHING
  47.  
  48. ^S    Search forward from cursor position.
  49. ^R    Reverse search from cursor position.
  50. ^X S    Forward incremental search
  51. ^X R    Reverse incremental search
  52.  
  53.  
  54. -----------------------------------------------------------------------
  55. =>        (4) REPLACING
  56.  
  57. M-R   Replace all instances of first typed-in string with second
  58.           typed-in string.  End each string with ESC.
  59. M-^R  Replace with query.  Answer with:
  60.     ^G  cancel            .   exit to entry point
  61.     !   replace the rest        Y    replace & continue
  62.     ?   Get a list of options    N   no replacement & continue
  63. -----------------------------------------------------------------------
  64. =>        (5) CAPITALIZING & TRANSPOSING
  65.  
  66. M-U    UPPERCASE word
  67. M-C    Capitalize word        ^T    Transpose characters
  68. M-L    lowercase word
  69. ^X ^L    lowercase region
  70. ^X ^U    uppercase region
  71. ^Q    Quote next entry, so that control codes may be entered into text
  72. -----------------------------------------------------------------------
  73. =>        (6) REGIONS & THE KILL BUFFER
  74.  
  75. M-<spacebar>    set MARK at current position
  76. ^X ^X        eXchange mark and cursor
  77.  
  78. A REGION will then be continuously-defined as the area between the mark and
  79. the current cursor position.  The KILL BUFFER is the text which has been
  80. most recently saved or deleted.
  81. -----------------------------------------------------------------------
  82. =>        (7) COPYING AND MOVING
  83.  
  84. ^W  Delete (Wipe) region        M-W    copy region to KILL buffer
  85. ^Y  Yankback save buffer at cursor
  86. Generally, the procedure for copying or moving text is:
  87.     1)  Mark a REGION using M-<spacebar> at beginning and cursor at end.
  88.     2)  Delete it (with ^W) or copy it (with M-W) into the KILL buffer.
  89.     3)  Move the cursor to the desired location and yank it back (with ^Y).
  90. -----------------------------------------------------------------------
  91. =>        (8) MODES OF OPERATION
  92. ^X M    Add mode in buffer              M-M    Add global mode
  93. ^X ^M   Delete mode in buffer           M-^M   Delete global mode
  94. OVER        Replaces (overwrites) rather than inserts characters
  95. WRAP        Turns on word wrap (automatic carraige return).
  96. VIEW        Allows viewing file without insertion and deletion.
  97. CMODE        Automatic indenting for C program entry
  98. EXACT/MAGIC    Changes how search and replace commands work (see next page)
  99. -----------------------------------------------------------------------
  100. =>        (9) SEARCH AND REPLACE MODES
  101.  
  102. EXACT    Uppper/lower case is not ignored in searches
  103. MAGIC   Regular pattern matching characters are active
  104.     .   Matches any one character
  105.     *   Matches any any number of the preceding character
  106.     ^   Beginning of line        [ ]   Character class enclosure
  107.     $   End of line              \     Quote next character
  108. -----------------------------------------------------------------------
  109. =>        (10) ON-SCREEN FORMATTING
  110.  
  111. ^X F        Set fill column
  112. Mn-<tab>    Set tab spacing to n charecters between tabs stops
  113. M-Q        Format paragraph so that text lies between margins
  114. ^X =        Position report -- displays line number, char count,
  115.                                    file size and character under cursor
  116. M-^C        Count words/lines/chars in marked region
  117. -----------------------------------------------------------------------
  118. =>        (11) MULTIPLE WINDOWS
  119.  
  120. Many WINDOWS may be active at once on the screen.  All windows may show
  121. different parts of the same buffer, or each may display a different one.
  122. ^X 2    Split the current window in two    ^X O    Change to next window
  123. ^X 0    delete current window           ^X P    Change to previous window
  124. ^X 1    delete all other windows        M-^V    Page down next window
  125.                                       M-^Z    Page up other window
  126. -----------------------------------------------------------------------
  127. =>        (12) CONTROLLING WINDOWS AND THE SCREEN
  128.  
  129. ^X ^    Enlarge current window   M-<n> ^X W   Resize window to <n> lines
  130. ^X ^Z   Shrink current window    
  131. ^X ^N   Move window down         
  132. ^X ^P   Move window up
  133. M-^L    Reposition window
  134. ^L      Refresh the screen
  135. -----------------------------------------------------------------------
  136. =>        (13) MULTIPLE BUFFERS
  137. A BUFFER is a named area containing a document being edited.  Many buffers
  138. may be activated at once.
  139. ^X B    Switch to another buffer.  <CR> = use just-previous buffer
  140. ^X X    Switch to next buffer in buffer list
  141. M-^N    Change name of current buffer
  142. ^X K    Delete a non-displayed buffer.
  143. ^X ^B    Display buffer directory in a window
  144. -----------------------------------------------------------------------
  145. =>        (14) READING FROM DISK
  146.  
  147. ^X ^F    Find file; read into a new buffer created from filename.
  148.     (This is the usual way to begin editing a new file.)
  149. ^X ^R    Read file into current buffer, erasing its previous contents.
  150.     No new buffer will be created.
  151. ^X ^I    Insert file into current buffer at cursor's location.
  152. ^X ^V    Find a file to make current in VIEW mode
  153. -----------------------------------------------------------------------
  154. =>        (15) SAVING TO DISK
  155.  
  156. ^X ^S    Save current buffer to disk
  157. ^X ^W    Write current buffer to disk
  158. ^X N    Change file name of current buffer
  159. M-Z    Write out all changed buffers and exit ARC EMACS
  160.  
  161.  
  162. -----------------------------------------------------------------------
  163. =>        (16) ACCESSING THE OPERATING SYSTEM
  164.  
  165. ^X !    Send one command to the operating system and return
  166. ^X @    Pipe OS command results to buffer
  167. ^X #    Filter buffer through OS filter program
  168. ^X C    Start a new command processor under ARC EMACS
  169. ^X ^C    Exit ARC EMACS
  170. -----------------------------------------------------------------------
  171. =>        (17) KEY BINDINGS AND COMMANDS
  172.  
  173. M-K    Bind a key to a command        M-A  Describe a class of commands
  174. M-^K    Unbind a key from a command
  175. ^X ?    Describe command bound to a key
  176. M-X    Execute a named (and possibly unbound) command
  177. {Describe-bindings}
  178.     Display a list of all commands and key bindings to a buffer
  179. -----------------------------------------------------------------------
  180. =>        (18) COMMAND EXECUTION
  181. Commands can be specified as command lines in the form:
  182.     <optional repeat count> {command-name} <optional arguments>
  183. {Execute-command-line}    execute a typed in command line
  184. {Execute-buffer}    executes commands lines in a buffer
  185. {Execute-file}        executes command lines from a file
  186. {clear-message-line}    clears the message line during execution
  187.    M-~            clears the change flag for a buffer
  188. -----------------------------------------------------------------------
  189. =>        (19) MACRO EXECUTION
  190.  
  191. ^X (    Start recording keyboard macro
  192. ^X )    Stop recording keyboard macro
  193. ^X E    Execute keyboard macro
  194. M-<n> {store-macro}    Start recording named macro
  195.       !endm        Stop recording named macro
  196. {execute-macro-n}    Execute macro n (where n is from 1 to 20)
  197. -----------------------------------------------------------------------
  198. =>        (20) SPECIAL KEYS
  199.  
  200. ^G        Cancel current command and return to top level of processing.
  201. ^U or        Universal repeat.  May be followed by an integer (default = 4)
  202. M-<digit>    and repeats the next command that many times.
  203. M-X        Execute a named (and possibly unbound) command
  204.  
  205.  
  206.  
  207.